![]() |
PBFlushVolSync |
||||
Header: | Files.h | Carbon status: | Supported | |
Writes the contents of the volume buffer and updates information about the volume.
OSErr PBFlushVolSync ( ParmBlkPtr paramBlock );
A pointer to a basic File Manager parameter block.
A result code.
The relevant fields of the parameter block are:
On input, a pointer to a completion function.
On output, the result code of the function.
On input, a pointer to a pathname.
On input, a volume specification.
On the volume specified by ioNamePtr or ioVRefNum, the PBFlushVolSync function writes descriptive information about the volume, the contents of the associated volume buffer, and all access path buffers for the volume (if they’ve changed since the last time PBFlushVolSync was called).
The date and time of the last modification to the volume are set when the modification is made, not when the volume is flushed.
Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)